package com.hwq.provider.service;

import com.hwq.service.service.IHelloService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

/**
 * className TestServiceImpl
 * description TestServiceImpl
 *
 * @author hwq
 * @version 1.0
 * @date 2019-01-30 18:08
 */
@Service(interfaceClass = IHelloService.class,group = "hi")
@Component
public class HelloServiceImpl implements IHelloService {
    @Override
    public String hello(String str) {
        return "hi   "+str;
    }
}